package com.qx.mapper;

import java.util.List;

import com.qx.po.Goods;

public interface GoodsMapper {
	//根据 GNO 查询 Good 表数据
    public Goods selectGoodsBygno(String gno) throws Exception;
    
    //查询所有 Goods 信息
    public List<Goods> selectGoodsAll() throws Exception;
 
    //向 Goods 表插入一条数据
    public void insertGoods(Goods goods) throws Exception;
     
    //根据 GNO 修改 Goods 表数据
    public void updateGoodsBygno(Goods goods) throws Exception;
     
    //根据 GNO 删除 Goods 表数据
    public void deleteGoodsBygno(String gno) throws Exception;

}
